package com.zhaopin;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 未添加配置文件前的输出
 * class ch.qos.logback.classic.Logger
 * 11:18:12.323 [main] INFO com.zhaopin.App - hello
 *
 * 增加配置文件后的输出:
 * class ch.qos.logback.classic.Logger
 * 2021-10-29 11:19:36.993 [main] INFO  com.zhaopin.App - hello
 */
public class App {
    private static Logger logger = LoggerFactory.getLogger(App.class);
    public static void main( String[] args ) {
        System.out.println(logger.getClass());
        logger.info("hello ");

    }
}
